// 显示规则业务类
export function businessType(ruleApplyTypes, businessTypeIds) {
  var businessTypes = ''
  if (businessTypeIds !== null && Array.isArray(businessTypeIds) && businessTypeIds.length > 0) {
    businessTypeIds.forEach(businessTypeId => {
      ruleApplyTypes.forEach(item => {
        if (item.value === businessTypeId) {
          businessTypes += item.name + ';'
        }
      })
    })
  }
  return businessTypes
}
